/*
 * @Descripttion: 文件说明
 * @version: V1.0
 * @Author: GW
 * @Date: 2021-08-10 11:53:09
 * @LastEditors: GW
 * @LastEditTime: 2021-08-13 16:55:16
 */
import { axios } from "../../utils/request";

/**
 * 基本设置保存
 */
function savaDefault (data) {
    return axios({
        url: '/crm/info/save',
        method: "post",
        data: data
    });
}

/**
 * 基本设置获取
 */
function getDefault (data) {
    return axios({
        url: '/crm/info/getInfo',
        method: "get",
        params: data
    });
}
//////////////////////////////////////////////////////////////////
/**
 * 保存导航
 */
export function saveNav (data) {
    return axios({
        url: '/cms/column/save',
        method: "post",
        data: data
    });
}
/**
 * 获取导航列表
 */
export function getNavList (data) {
    return axios({
        url: '/cms/column/pageList',
        method: "get",
        params: data
    });
}
/**
 * 删除导航
 */
export function deleteNav (data) {
    return axios({
        url: '/cms/column/delete',
        method: "delete",
        params: data
    });
}


export default {
    savaDefault,
    getDefault,
    saveNav,
    getNavList,
    deleteNav,
}